package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.Psych;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PsychMapper {
    int insert(Psych psych);

    int update(Psych psych);
    int incrementReplyCount(@Param("psychId") int psychId);

    int delete(int id);

    Psych selectById(int id);

    List<Psych> selectAll();


}
